<template>
	<view class="shop-car">
		<commonCar :list="goodsProducts" @delect="delect" @accounts="accounts">
			
		</commonCar>

		
	</view>
</template>

<script>
	import commonCar from '@/components/shopCar/shopCar.vue'
	export default {
		data() {
			return {
				goodsProducts: [{
					name: '华为旗舰店',
					checked: 1,
					goods: [{
						img: '../../static/goods_avatar.png',
						title: '正大 鸡蛋 初产蛋 鲜鸡蛋 1.08kg 25枚 装整箱 谷物鸡蛋礼盒 正大',
						// remark: '256G',
						price: '128.80',
						number: 1,
						checked: 1
					}, {
						img: '../../static/goods_avatar.png',
						title: '正大 鸡蛋 初产蛋 鲜鸡蛋 1.08kg 25枚 装整箱 谷物鸡蛋礼正大 鸡蛋 初产蛋 鲜鸡蛋 1.08kg 25枚 装整箱 谷物鸡蛋礼盒 正大盒 正大',
						// remark: '128G',
						price: '116.80',
						number: 1,
						checked: 1
					}]
				}],
			}
		},
		components: {
			commonCar
		},
		methods: {
			delect(e){
				console.log(e);
			},
			accounts(e){
				console.log(e);
			}
		}
	}
</script>

<style lang="scss" scoped>
	.shop-car {
		width: 750rpx;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		background: #F5F5F5;
	}
</style>
